dsh-cache-cost-monitor:为 DSH 增加缓存命中率与费用观察
`dsh-cache-cost-monitor` 是 DSH v0.1.x 的 MIT 许可插件,用于监控 Agent 调用中的前缀缓存命中率和 API 费用。它通过提取 `prompt_cache_hit_tokens`、`prompt_cache_miss_tokens` 和 `completion_tokens` 字段,实时统计缓存命中率,并根据官方定价(含峰谷时段)预估成本。插件提供 `cache_report` 工具供 Agent 查询详细报告,支持趋势火花线和逐轮明细;同时在浏览器端显示常驻统计条及每条回复末尾的本轮消耗。此外,它支持阈值与预算告警,并在异常时自动降级以保障主程序稳
Read MoreDeepSeek Harness Plugin: dsh-plugin-usage-meter (API Usage/Cost/Balance Dashboard)
`dsh-plugin-usage-meter` is a community plugin designed specifically for the DeepSeek Harness (dsh) web interface, aiming to solve the problems of cost accounting and budget monitoring after API usage. The plugin is approximately 0.6MB in size, requires no Electron or separate process, and is mounted through the official profile mechanism—without modifying source code and can be easily uninstalled. Core features include displaying real-time token usage below the input box, cost estimation based on official listed prices, and account balance queries (API Key configuration required). It provides bar charts showing model cost distribution for the current day and the past 7 days, supports peak/off-peak pricing, and offers dual-currency display in CNY/USD. Users can connect to the official billing from `platform.deepseek.com` to verify actual charges, and historical costs automatically...
Read Moredsh-status-bar: DSH Configurable Status Bar Management Plugin
dsh-status-bar is an MIT-licensed DSH client plugin maintained by Starlight-bananice, designed to address issues with the native bottom status bar, such as information truncation and display limitations in narrow windows. The plugin replaces the built-in stats line, offering a highly configurable status bar that supports toggling and rearranging 17 information segments, including model, context pressure, tokens, task queue, and more, with multi-line wrapping to prevent truncation. Its core features include real-time TPS updates based on assistant/chunk events, fee estimation supporting peak/valley pricing and CNY/USD selection, zero-configuration default activation of 13 information segments, and a Usage & cost dialog box that includes cost trend graphs and usage history. The plugin is compatible with DSH 0.
Read Moredsh-spend: DSH Token Usage and Cost Monitoring Plugin
dsh-spend is a web plugin for DeepSeek Harness (DSH), maintained by nonewind under the MIT license. It is designed to address the fragmented monitoring of Token usage, latency, costs, and quotas across multiple providers and models. By replaying session logs from `$DSH_HOME/sessions`, it provides a floating window and detailed panel in the Web UI. Core features include: multi-dimensional statistics by provider, model, time, and session; time-series charts for today, 24 hours, 7 days, and a 52-week activity heatmap; a built-in price database covering 17 providers and 131 models with automatic recognition of Code or Token billing plans, and support for DeepSeek's peak-valley pricing. It also reads real-time data from DeepSeek, M...
Read More